Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: python docker build architecture #1082

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

fix: python docker build architecture #1082

wants to merge 2 commits into from

Conversation

mtmeyer
Copy link

@mtmeyer mtmeyer commented Sep 17, 2024

Currently when you build a docker image for python lambdas on a machine with a different architecture to the target lambda, the lambda will fail to run.

This PR passes through the architecture the lambda uses to Pulumi's docker build.

Tested this locally and I can now run sst deploy from my M1 mac and it works on an x86_64 lambda.

Closes #1079

@walln
Copy link
Contributor

walln commented Sep 17, 2024

Thank you! I totally forgot to add this back after bashing my head against the wall with buildx cross platform images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python function container build targets wrong architecture
2 participants